package com.bicon.life.core.base.repository;

/**
 * Created by L on 2017/5/23.
 */
public interface IBaseRepository<T> {

    int deleteByPrimaryKey(String id);

    int insert(T record);

    int insertSelective(T record);

    T selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(T record);

    int updateByPrimaryKey(T record);

}
